package com.changpay.zywy.mvp.contract

import com.changpay.zywy.base.IModel
import com.changpay.zywy.base.IPresenter
import com.changpay.zywy.base.IView
import com.changpay.zywy.bean.HttpResult
import com.changpay.zywy.bean.ZhiXunBg
import io.reactivex.Observable

interface InfoContract {


    interface View : IView {
        fun showZhiXunBg(data: ZhiXunBg)
    }

    interface Presenter : IPresenter<View> {

        fun getZhiXunInfo()

    }

    interface Model : IModel {
        fun getZhiXunInfo(): Observable<HttpResult<ZhiXunBg>>
    }
}